{include file="public/header" /}
<style type="text/css">
	.aui-list .aui-list-item{background-color: #FFF;padding-left: 0.5rem;padding-right: 0.5rem;padding-top: 10px;padding-bottom: 10px;}
	.form-control{border-bottom: 1px solid #eee;}
	#content-artedit{padding-top: 10px;padding-bottom: 10px; }
	.aui-list-item-input{padding: 0 10px;}
	.aui-list .aui-list-item-label{color: #434343;font-weight: bold;}
</style>

<div class="aui-content wrap">
	<form class="ajax-form" loading-msg="正在登录，请稍候..." action="" method="post" style="margin-top: 20px;">
		<div class="aui-content aui-margin-b-15" style="overflow: hidden;">
			<div class="aui-list aui-form-list">
				<div class="aui-list-item">
		            <div class="aui-list-item-inner">
		                <div class="aui-list-item-input border-1" style="padding: 0 10px;">
		                    <input class="form-control required" type="text" data-label="问题描述" name="title" value="{$info['title']}" placeholder="描述您的问题">
		                </div>
		            </div>
		        </div>

				{:widget('Widget/wap_edit', ['content', '', '', 0])}

		        <div class="aui-list-item"  style="border-top: 1px solid #e0dcdc;">
		        	<div class="aui-list-item-inner">
		        		<div class="aui-list-item-label">
		                   话题
		                </div>
		                <div class="aui-list-item-input"  style="text-align: right;">
				        	<div class="my-win category_id-btn" title="话题" href="{:url('Category/index', array('show_name'=>'话题', 'field_name' => 'category_id', 'file_value' => $info['category_id'], 'category_module' => 'ask_index', 'show_desc' => '', 'is_required' => 0, 'is_wrap_name' => 0))}">
				        		{eq name="info.category_name" value=""}
									请选择话题
								{else/}
									{$info['category_name']}
				        		{/eq}
				        	</div>
				        	<input type="hidden" name="category_id" value="{$info['category_id']}">
		                </div>
		            </div>
		        </div>
		        <div class="aui-list-item" style="border-top: 1px solid #e0dcdc;">
					<div class="aui-list-item-inner" >
						<div class="aui-list-item-label">
							匿名
						</div>
						<div class="aui-list-item-input" style="text-align: right;">
							<input name="is_anonymous" value="1" type="checkbox" class="aui-switch" >
						</div>
					</div>
		        </div>
			</div>
		</div>
	</form>
</div>
<style type="text/css">
	.wrap{padding-bottom: 50px;}
</style>
<footer class="aui-bar aui-bar-tab" id="footer">
    <div class="aui-bar-tab-item" tapmode onclick="$('.ajax-form').submit()">
        <div class="aui-bar-tab-label" style="color: #FFF;font-size: 0.8rem;">提交问题</div>
    </div>
</footer>
{include file="public/footer" /}